package com.dxx.cloud.admin.module.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;

import java.math.BigDecimal;

/**
 * @author duh
 * @create 2018/12/28 14:10

 **/
@Schema(description = "修改客户请求体")
public class CustomerUpdateRequest{
    @Schema(description="id",example="1")
    @NotNull
    private Integer id;

    @Schema(description="商户id",example="1")
    private Long merId;

    @Schema(description="客户名称",example="张三")
    private String name;

    @Schema(description="手机号",example="15071185123")
    private String mobile;

    @Schema(description="身份证号",example="421254199909091234")
    private String idCardNo;

    @Schema(description="地址",example="中国上海黄埔1号")
    private String address;

    @Schema(description="欠款上限")
    private BigDecimal debtLimit;

    @Schema(description="状态：1有效, -1 无效",example = "1")
    private Integer status;

    @Schema(description="操作者",example="admin")
    private String operator;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getMerId() {
        return merId;
    }

    public void setMerId(Long merId) {
        this.merId = merId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getIdCardNo() {
        return idCardNo;
    }

    public void setIdCardNo(String idCardNo) {
        this.idCardNo = idCardNo;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public BigDecimal getDebtLimit() {
        return debtLimit;
    }

    public void setDebtLimit(BigDecimal debtLimit) {
        this.debtLimit = debtLimit;
    }
}
